Skip to content

[CI] Fix Transformers modeling backend LoRA test - #47832

Merged
hmellor merged 4 commits into
vllm-project:mainfrom
hmellor:fix-transformers-lora
Jul 7, 2026
Merged

hmellor merged 4 commits into
vllm-project:mainfrom
hmellor:fix-transformers-lora

Conversation

@hmellor

@hmellor hmellor commented Jul 7, 2026 •

Copy link
Copy Markdown
Member

As identified in #47804, #47187 added a new attribute to QKVParallelLinear for the split operation that is added as part of Transformers backend fusion. This new attribute was not copied over by LoRA wrapping classes which caused a test failure.

This PR removes the need for this new attribute as all the necessary information is already contained in QKVParallelLinear.output_sizes and QKVParallelLinear.tp_size. It does add a minor performance hit in eager mode, but since the values are constants they are compiled away when compile is enabled.

Supersedes #47804 and #47824

hmellor added 2 commits July 7, 2026 07:01
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@hmellor hmellor changed the title Fix transformers lora [CI] Fix Transformers modeling backend LoRA test Jul 7, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@hmellor
hmellor enabled auto-merge (squash) July 7, 2026 07:23
@github-actions github-actions Bot added the ready ONLY add when PR is ready to merge/full CI is needed label Jul 7, 2026
@tjtanaa tjtanaa added the rocm Related to AMD ROCm label Jul 7, 2026
@github-project-automation github-project-automation Bot moved this to Todo in AMD Jul 7, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
@hmellor
hmellor merged commit 0ed05b6 into vllm-project:main Jul 7, 2026
94 checks passed
@hmellor
hmellor deleted the fix-transformers-lora branch July 7, 2026 11:40
@github-project-automation github-project-automation Bot moved this from Todo to Done in AMD Jul 7, 2026
khluu pushed a commit that referenced this pull request Jul 8, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
(cherry picked from commit 0ed05b6)
NickLucche pushed a commit to NickLucche/vllm that referenced this pull request Jul 15, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
philippesic pushed a commit to philippesic/vllm-semantic-cache that referenced this pull request Jul 19, 2026
Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready ONLY add when PR is ready to merge/full CI is needed rocm Related to AMD ROCm

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants